JAVA_HOME=/usr/jdk/jdk1.8.0_121
PATH=$PATH:${JAVA_HOME}/bin
PROJECT_HOME=/home/web/pigeontest/server
LIB_HOME=${PROJECT_HOME}/WEB-INF/lib
for i in ${LIB_HOME}/*.jar ; do
  CLASSPATH=${CLASSPATH}:${i}
  echo $i
done
CLASSPATH=${PROJECT_HOME}/WEB-INF/classes:${CLASSPATH}
export PATH  CLASSPATH
java $@

#sh shell/linux/RunJava.sh com.magicalcoder.pigeontest.server.common.ServerStart